package dataPersistence.dto;

/**
 * This is the master class for DTOs. Subclasses will need to  override the constructor to
 * properly initialize the Transfer Object values.
 * @author fantastic4
 *
 */


/**
 * This is the master class for DTOs. Subclasses will need to  override the constructor to
 * properly initialize the Transfer Object values.
 * @author Fantastic4
 *
 * @param <T> the ObjectType relating the this specific implementation of the DTO, 
 * i.e. Item, Product, StorageUnit, ProductGroup
 */
public interface DataTransferObject<T>
{
	
	/**
	 * Converts the given Transfer Object to its corresponding model object
	 * @return the converted model object, i.e. Item, Product, StorageUnit, ProductGroup
	 */
	public abstract T convertToModelObject();
	
	public void convertFromModelObject(T modelObject);
	
	
}
